package com.ifind;

/**
 * @author Carlos
 * @version 1.0
 * @Description TODO
 * @date 2020/10/25 12:55
 **/
public class BaseTask extends AbstractTask {

    private final Executor executor;

    protected BaseTask(Executor executor){
        this(null, null, executor);
    }

    protected BaseTask(String id, String type, Executor executor) {
        super(id, type);
        this.executor = executor;
    }

    public Executor getExecutor() {
        return executor;
    }
}
